<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title></title>
</head>
<body>
<script src="../../../dist/vue.min.js"></script>
<script src="../../../packages/vue-server-renderer/basic.js"></script>

<div id="result">wtf</div>

<script>
  var vm = new Vue({
    data: {msg: 'foo'},
    template: '<div>{{ msg }}</div>'
  })

  renderVueComponentToString(vm, function (err, result) {
    document.getElementById('result').textContent = err && err.toString() || result
  })
</script>
</body>
</html>
